home *** CD-ROM | disk | FTP | other *** search
- Q39344 Internal Compiler Error: omf.c:1.70, line 146
- C Compiler
- 5.10 | 5.10
- MS-DOS | OS/2
-
- Summary:
-
- The code below causes the following internal compiler error when
- compiled under DOS or OS/2 with the C Version 5.10:
-
- fatal error C1001: Internal Compiler Error
- (compiler file '@(#)omf.c:1.70', line 146)
- Contact Microsoft Technical Support
-
- If the two statements using the pragma "data_seg" to name the data
- segment are commented out, the error will not occur. This error occurs
- with optimization turned on and disabled with /Od.
-
- Microsoft has confirmed this to be a problem in Version 5.10. We are
- researching this problem and will post new information as it becomes
- available.
-
-
- More Information:
-
- The following is the example code:
-
- #define INCL_BASE
- #include <os2.h>
-
- #pragma data_seg(GD) /* if this is uncommented, it will */
- /* produce the internal comp. error*/
- int i;
-
- #pragma data_seg(ID) /* if this is uncommented, it will */
- /* produce the internal comp. error*/
- int fFirstLogCall = 1;
-
- int EXPENTRY ERL_INITROUTINE (void)
- {
- C_INIT();
- }
-
- Keywords: buglist5.10
- Updated 88/12/30 04:34
-